using Newtonsoft.Json;
using SellAvi.Model.AvitoSocketModels.Converters;

namespace SellAvi.Model.AvitoSocketModels
{
    public class message
    {
        public body body { get; set; }
        public string channelId { get; set; }
        public string chatOid { get; set; }
        public long created { get; set; }
        public long delivered { get; set; }
        [JsonConverter(typeof(Float2IntegerConverter))]
        public int fromUid { get; set; }
        public string id { get; set; }
        public bool isDeleted { get; set; }
        public bool isRead { get; set; }
        public bool isSpam { get; set; }
        public long read { get; set; }
        public object spamReasons { get; set; }
        public string type { get; set; }
        public int uid { get; set; }
    }
}